import 'package:flutter/material.dart';
import 'app/learnApp.dart';

void main() {
  runApp(const LearnApp());
}

// import 'package:flutter/material.dart';
// import 'package:window_manager/window_manager.dart';

// import 'routes/app-layout.dart';

// void main() async {
//   WidgetsFlutterBinding.ensureInitialized();
//   await windowManager.ensureInitialized();

//   WindowOptions windowOptions = const WindowOptions(
//     size: Size(1000, 600),
//     center: true,
//     backgroundColor: Colors.transparent,
//     skipTaskbar: true,
//     // titleBarStyle: TitleBarStyle.hidden,
//     // windowButtonVisibility: true,
//     title: '日报生成器'
//   );
//   windowManager.waitUntilReadyToShow(windowOptions, () async {
//     await windowManager.show();
//     // await windowManager.focus();
//     // await windowManager.startDragging();
//   });

//   runApp(AppLayout());
// }
